export const MittType = {
    /**
     * 切换左侧侧边栏。
     */
    Switchsidebar: "switchsidebar",
    /**
     * 刷新当前显示的视图。
     */
    UserInfo: "userInfo"
};
//分页设置
export const PageConfig = {
    PAGE_SIZE: 10,
};
//缓存key
export const StorageKey = {
    USER_REMBER: "user_rember",
    USER: "user",
    // PERMISSION: "permission",
    TOKEN: "token",
    DICT: "dict",
    ROUTERS: "routers",
    PERMISSION_MENU: "permission_menu",
    PERMISSION_OPERATOR: "permission_operator",
};
//http响应代码
export const ResponseCode = {
    SUCCESS: 200,
    FAILED: 299,
    BAD_REQUEST: 400,
    UNAUTHORIZED: 401,
    FORBIDDEN: 403,
    NOT_FOUND: 404,
    NOT_ACCEPTABLE: 406,
    ERROR: 500
};
//弹窗类型
export const DialogType = {
    VIEW: 'view',
    ADD: 'add',
    EDIT: 'edit'
}
//权限类型
export const PermissionType = {
    MENU: 'menu',
    OPERATOR: 'operator'
}
//文件名对应mime类型
export const MimeType = {
    doc: 'application/msword',
    docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
}